package com.commonly.commonlyUsed.SpringBoot.拦截器;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "interceptor")
public class InterceptorController {

    @RequestMapping(value = "/demo")
    public String demo() {
        return "success";
    }

    @RequestMapping(value = "/demo02")
    public String demo02() {
        return "success";
    }
}
